WooCommerce\Square\Framework\PaymentGateway\ApplePay\Payment_Gateway_Apple_Pay_Frontend S

Total Complexity 29
Dependencies 5
Dependents 1
Total lines 317
Lines of code 128
Logical lines of code 71
Comment lines 104
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
render_button()
S
50 7 29
init()
S
63 7 10
init_product()
S
57 3 16
init_cart()
S
61 2 12
render_checkout_button()
S
61 1 16
__construct()
S
65 2 9
enqueue_scripts()
S
57 1 15
init_checkout()
S
64 2 9
get_display_locations()
S
80 1 3
get_gateway()
S
82 1 3
get_plugin()
S
82 1 3
get_handler()
S
82 1 3